package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 收料通知单检验推送金蝶信息 purm_purchase_take_qt_2_kingdee
 * @Classname: PurchaseTakeQt2Kingdee
 * @Darw 2024/8/30 15:13 周五
 * @Description:
 * @Version: 1.0
 * @Create by: C.C
 */
@Data
@ToString
@TableName("purm_purchase_take_qt_2_kingdee")
public class PurchaseTakeQt2Kingdee {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "收料单编号")
    private String purchaseTakeNumber;

    @ApiModelProperty(value = "收料单id")
    private Long purchaseTakeId;

    @ApiModelProperty(value = "入库状态")
    private Boolean inboundStatus;

    @ApiModelProperty(value = "检验单推送时间")
    private Date pushTime;

    @TableField(value = "create_Time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    @TableField(value = "update_Time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableLogic
    private boolean isDel;

}
